﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace QUAN_LY_MUON_TRA_SACH
{
    public partial class rptluot_muon_theo_the_loai : DevExpress.XtraReports.UI.XtraReport
    {
        public rptluot_muon_theo_the_loai()
        {
            InitializeComponent();
        }
        public void BindData()
        {
            rtxtungay.Text = FORM_MAIN.frmmain.cadtungay.Text;
            rtxdenngay.Text = FORM_MAIN.frmmain.caddenngay.Text;
            xlbngay.Text = DateTime.Today.Day.ToString();
            xlbthang.Text = DateTime.Today.Month.ToString();
            xlbnam.Text = DateTime.Now.Year.ToString();
            xlbnguoilap.Text = FORM_MAIN.frmmain.siInfo.Caption;
            coltentheloai.DataBindings.Add("Text", DataSource, "TEN_TLOAI");
            colsoluotmuon.DataBindings.Add("Text", DataSource, "SO_LUOT_MUON");
        }
    }
}
